
using Rainfall.WebRequest;
using UnityEngine;

public class HP03_HttpPostLlmTts : C0101_HttpPostBase<ER03_LlmTtsGenerateReqDTO, EP03_LlmTtsResponseDTO>
{
    public override string ServerUrl => "http://59.77.5.10:7861/llm_tts";

    public HP03_HttpPostLlmTts(ER03_LlmTtsGenerateReqDTO request)
    {
        this.request = request;
        this.OnPostSucceed += HandlePostSucceed;
    }


    private void HandlePostSucceed(EP03_LlmTtsResponseDTO response) {
        Debug.Log($"<LLM+TTS Post Response>: {{ code= {response.code}  msg: {(response.msg)} }}" );
    }

}
